package com.sixth.controller;
import com.sixth.entity.Member;
import com.sixth.service.TbMemberService;
import com.sixth.until.CommonResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: self-tui-education
 * @description:
 * @author: 厉泽禄
 * @create: 2022-04-19 20:45
 **/
@RestController
@RequestMapping("/stat/member")
public class ChartController {
    @Autowired
    private TbMemberService tbmemberService;

    @PostMapping("queryMemberTypeBang")
    public CommonResult queryMemberTypeBang(@RequestBody Member member){
        return tbmemberService.queryMemberTypeBang();
    }
}

